package com.ruoyi.common.utils;

import org.junit.Test;
import static com.ruoyi.common.utils.SecurityUtils.matchesPassword;

public class SecurityUtilsTest {

    @Test
    public void test(){
        System.out.println(matchesPassword("admin123", "$2a$10$7ylSSOfznaUNeMBY2x0EWOShf1Evr.w1c2N8cPHs1y3rEWc2NuA.2"));
        System.out.println(matchesPassword("admin123", "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2"));
    }

}
